package com.cpsdna.openapi.bean.req;

/**
 * 接口的登录鉴权信息
 */
public class Auth {
	//登录开发者key，从迪纳获取
	private String devKey;
	//登录验证key，从迪纳获取
	private String secret;
	//接口调用的用户名，对应迪纳系统的一个用户
	private String userName;
	//接口调用的用户名对应密码 不必md5
	private String password;

	public String getDevKey() {
		return devKey;
	}

	public void setDevKey(String devKey) {
		this.devKey = devKey;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("Auth{");
		sb.append("devKey='").append(devKey).append('\'');
		sb.append(", secret='").append(secret).append('\'');
		sb.append(", userName='").append(userName).append('\'');
		sb.append(", password='").append(password).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
